//
// C++ Interface: filterwidget
//
// Description: 
//
//
// Author: Willi Ballenthin <wilbal1087@gmail.com>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef FILTERWIDGET_H
#define FILTERWIDGET_H

#include "activitywidget.h"

#include "ui_activityfilterwidget.h"
#include "activitydbinterface.h"

#include <QWidget>

/**
	@author Willi Ballenthin <wilbal1087@gmail.com>
*/

// 700 x 280

class ActivityFilterWidget : public ActivityWidget
{
Q_OBJECT
public:
    ActivityFilterWidget(ActivityDbInterface* interface, QWidget *parent = 0);
    QString getSelected();

public slots:
    QString getFilter();
    void applyFilter();
    void updateUi();

private:
    QString filter;
    Ui::ActivityFilterWidget ui;
};

#endif
